package com.ggchzzz.login.utils;

import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

class base {
    Retrofit retrofit = new Retrofit.Builder()
            .baseUrl("http://anska.info/")
            .addConverterFactory(GsonConverterFactory.create())
            .build();
}
public class http extends base {
    public http() {
        super();
    }

    public Call LoginAction(String name, String passswd) {
        apiSevice api = retrofit.create(apiSevice.class);
        Call call = api.getLogResult(name, passswd);
        return call;
    }
}